package tech.fangsong.im.core.payload.impl;

import tech.fangsong.im.core.mime.ContentType;
import tech.fangsong.im.core.payload.IPayload;

/**
 *  单聊发送内容
 */
public class SingleChatPayloadRequest implements IPayload {
    private static final long serialVersionUID = -1L;

    private Long fromUid;

    private Long toUid;

    private byte [] data;

    private ContentType contentType;

    public Long getFromUid() {
        return fromUid;
    }

    public void setFromUid(Long fromUid) {
        this.fromUid = fromUid;
    }

    public Long getToUid() {
        return toUid;
    }

    public void setToUid(Long toUid) {
        this.toUid = toUid;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public ContentType getContentType() {
        return contentType;
    }

    public void setContentType(ContentType contentType) {
        this.contentType = contentType;
    }
}
